package com.system.userserver.bus;

import org.springframework.amqp.core.ExchangeTypes;
import org.springframework.amqp.rabbit.annotation.*;
import org.springframework.stereotype.Component;


public class TestReceiver {



    public void exchange(String msg){
        System.out.println("公共服务收到来自用户服务的消息: "+msg);
    }

    public void testmsg(String msg){
        System.out.println("公共服务收到来自用户服务的消息: "+msg);
    }

}
